﻿<UserControl x:Class="MyRecipeBook.UI.Controls.ControlDashboard"             
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:dbitems="clr-namespace:MyRecipeBook.UI.Controls.DashboardItems"
             x:Name="UserControlDashboard">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/MyRecipeBook.UI;component/Themes/BrushDictionary.xaml" />
                <ResourceDictionary Source="/MyRecipeBook.UI;component/Themes/ControlDictionary.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>

    <ScrollViewer Style="{DynamicResource StyleControlDashboardScrollViewer}">
        <StackPanel Style="{DynamicResource StyleControlDashboardStackPanel}" >
            <dbitems:ControlDashboardItemClock />
        </StackPanel>
    </ScrollViewer>
</UserControl>